package com.zimmur.service.account;

import java.util.List;

import com.zimmur.model.account.UserAddress;
/**
 * 用户地址服务接口
 * @author Administrator
 *
 */
public interface IUserAddressService {
	public UserAddress selectById(long addrId);
	public boolean insert(UserAddress address);
	public boolean update(UserAddress address);
	public boolean delete(long addressId);
	public List<UserAddress> selectByUserId(long userId);
	
	/**
	 * 设置默认地址
	 * @param userId 用户ID
	 * @param addrId 地址记录ID
	 * @return
	 */
	public boolean setDefaultAddress(long userId,long addrId);
}
